package code.c02_list.cdLinkList;

/**
 * @author thinkpad - 83start
 * @version v1.0
 * @create 2022/9/26 21:55
 * @package code.c02_list.cdLinkList
 * @description 双链表结点
 */

public class DLinkNode<E>{
    E data;
    DLinkNode<E> prior;
    DLinkNode<E> next;

    // 重载构造方法
    public DLinkNode() {
        prior = null;
        next = null;
    }

    public DLinkNode(E date) {
        this.data = date;
        prior = null;
        next = null;
    }
}
